<html>
   
<?php

if(isset($_POST['submitST'])){
   
    if((isset($_FILES['image'])) and ($_FILES['image']['name']!='')){
        $img="image";
       
       
    }
    else {
        $img=false;
       
    }
     $name= $_POST["storeName"]; 
     $location=$_POST["location"];
     $phone=$_POST["storephone"];
     include 'StoreClass.php';
     ////store fixed 3shan hn5do mn alsession b3d kda
     $st= new Store(6, $name, $location, $phone, $img);
   // $st->setData(6, $name, $location, $phone, $img);
    //$st->initStore();
    $st->getStores();
}

?>
</html>
